home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
PRINTER
/
PCLTOOLS
/
ASC2PCL
/
Formats
< prev
next >
Wrap
Text File
|
1996-10-03
|
2KB
|
58 lines
# Page formats. These are hard-coded into the main program so you
# needn't include this file. It's just a demonstration of how a
# page format definition file is supposed to look.
# First come four promille-numbers (unit is inches!):
# printable area x, printable area y, offset x, offset y (all portrait)
7000, 10500, 500, 500
# Then the actual format definitions
# First line: name of format.
# Second line: number of rectangles, orientation (0 = portrait, 1 =
# landscape), size x,y of rectangle relative to printable size (promilles),
# after rotation. If additional numbers follow these mean:
# PosY of header/footer line (in promilles relative to page dimensions),
# Font scale in promilles, scalex (internal scaling factor used by asc2pcl),
# Font number, style, weigth of font to use for header/footer. In this case
# the next line must contain a string to print as header/footer.
# Third line: for each rectangle: {x, y} of top left corners relative to
# printable area size (promilles). y grows from top to bottom!
# Simple formats, no headers/footers
1 column, portrait
1, 0, 1000, 1000
{0, 0}
2 columns, landscape
2, 1, 450, 1000
{0, 0}, {550, 0}
3 columns, landscape
3, 1, 300, 1000
{0, 0}, {350, 0}, {700, 0}
4 thumbnails, portrait
4, 0, 450, 450
{0, 0}, {550, 0}, {0, 550}, {550, 550}
2 columns, portrait
2, 0, 450, 1000
{0, 0}, {550, 0}
# Formats with headers/footers
2 columns, landscape +h
2, 1, 450, 950, 0, 2000, 1500, 2, 1, 0
File <\f> (Page \#)
{0, 50}, {550, 50}
3 columns, landscape +h
3, 1, 300, 965, 0, 2000, 1500, 2, 1, 0
File <\f> (Page \#)
{0, 35}, {350, 35}, {700, 35}
# New Format (not hard-coded); overlapping rectangles, so be careful
3 columns portrait
3, 0, 400, 1000
{0, 0}, {350, 0}, {700, 0}